]> dgit.raspbian.org Git - gnome-shell.git/commit
dbusServices/screensaver: Disable auto-shutdown
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 27 Apr 2021 19:07:05 +0000 (21:07 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 28 Apr 2021 18:12:13 +0000 (18:12 +0000)
commitdedfdb6d0bc85a17bfee0c710f7989d64176d98f
tree0dc94009de16e5eec5987a23503f58048bef64a1
parent724291de7f9fc89662fb7a0c71f4226a62eb2359
dbusServices/screensaver: Disable auto-shutdown

For the screensaver service, it is quite normal that a consumer only
subscribes to the "ActiveChanged" signal without calling any methods.

The result is that we don't know about the consumer, and shut down
the service anyway after we hit the timeout.

If this happens, we break functionality like gnome-settings-daemon's
screen blanking on idle.

Fix this by simply disabling auto-shutdown for the service, which
also reflects the expectation that the screen saver service is
always running in a GNOME session.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4114

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1824>
js/dbusServices/screensaver/screenSaverService.js